package grape.attend.rest.overtime.vo;
import grape.attend.service.overtime.api.IOvertimeLegalService;
import grape.attend.service.overtime.api.IOvertimeRestService;
import grape.attend.service.overtime.api.IOvertimeWorkService;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 加班设置表
 * </p>
 *
 * @author yangwei
 * @since 2020-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="加班设置数据响应对象")
public class OvertimeVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "工作日加班id")
    private String overtimeWorkId;

    @TransBy(type = IOvertimeWorkService.trans_name,byFieldName = "overtimeWorkId")
    @ApiModelProperty(value = "工作日加班名称")
    private String overtimeWorkName;

    @ApiModelProperty(value = "休息日加班id")
    private String overtimeRestId;

    @TransBy(type = IOvertimeRestService.trans_name,byFieldName = "overtimeRestId")
    @ApiModelProperty(value = "休息日加班名称")
    private String overtimeRestName;

    @ApiModelProperty(value = "法定节假日加班id")
    private String overtimeLegalId;

    @TransBy(type = IOvertimeLegalService.trans_name,byFieldName = "overtimeLegalId")
    @ApiModelProperty(value = "法定节假日加班名称")
    private String overtimeLegalName;

    @ApiModelProperty(value = "备注")
    private String remark;


}
